/**
 * 
 */
package com.flux.tms.tm${bean.numMain}web.modules.t${bean.numMain}${bean.numSub}.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.flux.tms.tm${bean.numMain}web.modules.t${bean.numMain}${bean.numSub}.dao.${bean.javaFlieName}Dao;
import com.flux.scev6.dbopr.query.pagequery.PageQueryDataSet;
import com.flux.scev6.login.model.LoginInfoObj;
import com.flux.scev6.udfquery.model.QrySqlObj;

/**
 *
 * T${bean.numMain}${bean.numSub} ${bean.notesMain} -- ${bean.notesSub}   -- web  Service 定义
 * 
 * T${bean.numMain}${bean.numSub} ${bean.notesSub}
 * 
 * <p>
 * 创建时间：${bean.dayTime}
 * <p>
 * 
 * <p>
 * 修改时间：${bean.dayTime}
 * <p>
 * 
 * @author ${bean.author}
 * 
 * @version V1.0.0
 *
 */
@Service
public class ${bean.javaFlieName}WebService {
	/*
	 * V100(${bean.numTime}) ${bean.author} 初版。
	 */
	@SuppressWarnings("unused")
	private static String verNum = "V100(${bean.numTime})";// 版本号
	
	@Autowired
	private ${bean.javaFlieName}Dao ${bean.javaFlieName}Dao;
	
	
	/**
	 * 查询符合输入的查询条件的 ${bean.numSub}--主表 列表记录 (分页查询)
	 *
	 * @author ${bean.author}
	 *
	 * @date ${bean.dayTime}
	 * 
	 * @param loginInfoObj
	 * @param conditionMap
	 * @param otherReturnFields
	 * @return
	 */
	public PageQueryDataSet get${bean.javaFlieName}sListByPage(LoginInfoObj loginInfoObj, Map<String, String> conditionMap,
			String otherReturnFields) {
		return ${bean.javaFlieName}Dao.get${bean.javaFlieName}sListByPage(loginInfoObj, conditionMap, otherReturnFields);
	}

	
	/**
	 * 获取查询语句配置
	 *
	 * @author ${bean.author}
	 *
	 * @date ${bean.dayTime}
	 * 
	 * @param loginInfoObj
	 * @param conditionMap
	 * @param otherReturnFields
	 * @param isQurey
	 * @return
	 */
    public QrySqlObj getQuerySql(LoginInfoObj loginInfoObj, Map<String, String> conditionMap, String otherReturnFields,
    		boolean isQurey){
        return ${bean.javaFlieName}Dao.getQuerySql(loginInfoObj, conditionMap, otherReturnFields,isQurey);
    }
    
    /**
     * 获取 DAO类实例
     *
     * @author ${bean.author}
     *
     * @date ${bean.dayTime}
     * 
     * @return
     */
	public ${bean.javaFlieName}Dao getDao() {
	    return ${bean.javaFlieName}Dao;
	}
}
